﻿using System.Data.Linq.Mapping;

namespace vurfu.DataContracts
{
    [Table(Name = "dbo.Statuses")]
    public class Status
    {
        [Column(Name = "StatusId", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true)]
        public string StatusId { get; set; }

        [Column(Name = "StatusName", DbType = "NVarChar(MAX) NOT NULL", CanBeNull = false)]
        public string StatusName { get; set; }

        [Column(Name = "StatusValue", DbType = "Int NOT NULL", CanBeNull = false)]
        public int StatusValue { get; set; }
    }
}